home *** CD-ROM | disk | FTP | other *** search
- Path: news.itsnet.com!anderson
- From: mri@itsnet.com (Kelly Anderson)
- Newsgroups: comp.lang.c++
- Subject: What happened to VGA.LIB in 1.52, ClearScreen() reboots DOS
- Date: Wed, 17 Apr 96 20:39:21 GMT
- Organization: Internet Technology Systems, Provo UT USA
- Distribution: world
- Message-ID: <4l3hio$13b@itchy.itsnet.com>
- NNTP-Posting-Host: ip147.itsnet.com
- X-Newsreader: News Xpress Version 1.0 Beta #1
-
- I have the unenviable task of maintaining some old DOS code, and I ran into a little problem.
-
- The code was written and compiled in Microsoft C 7.0. It used VGA.LIB from that distribution
- to do some VGA DOS graphics. I ported the code to VC++ 1.52, However, it appears that
- VGA.LIB is no longer in Visual C++ 1.52c (the current version).
-
- OK, no problem, I copied the VGA.LIB from the C7 distribution and linked it in using 1.52,
- hoping that would be good enough. However, when I execute the program, on its first call
- to ClearScreen, it reboots the computer.
-
- It is a regular DOS machine without any hint of Windows on the machine.
-
- Does anyone know what the recommended way of accessing the DOS graphics screen is now?
- (I assume it would be with the routines in grahics.h)
-
- Is the VGA.LIB incompatible with 1.52 for some reason?
-
- Any hints or other ideas appreciated.
-
- -Kelly
-
-
-